package com.maven.zh.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.maven.zh.bean.Menu;
import com.maven.zh.dao.MenuDao;
import com.maven.zh.service.MenuService;


@Service
public class MenuServiceImpl implements MenuService{

	@Autowired
	private MenuDao menuDao;

	public List<Menu> queryChildMenu(Menu pmenu) {
		return menuDao.selectChildMenu(pmenu.getId());
	}

}
